package org.shejko.util.splitunite;

import java.util.Collection;

/**
 * 
 * @author dmytros
 */
public interface ISplitUnite
{
    /** splits {@code str} into several parts and puts them into {@code col} */
    void split(String str, Collection<String> col);

    /** unites elements of {@code col} appending them into {@code builder} */
    void unite(Iterable<String> col, StringBuilder builder);
}
